#ifndef INDEX_H
#define INDEX_H

#include <QWidget>
#include "Head.h"
namespace Ui {
class index;
}

class index : public QWidget
{
    Q_OBJECT

public:
    explicit index(QWidget *parent = 0);
    ~index();
private:
    bool cheakUser(QString str);
    bool cheakPassword(QString str);

signals :
    void log_in_ok(bool judge);
private slots:
    //void on_pushButton_clicked();

    void on_log_in_clicked();

private:
    Ui::index *ui;
};

#endif // INDEX_H
